Component({
    externalClasses: [ "x-class" ],
    properties: {
        mode: {
            type: String,
            value: "aspectFill"
        },
        bold: {
            type: Boolean,
            value: !1
        },
        size: {
            type: String,
            value: ""
        },
        color: {
            type: String,
            value: ""
        },
        classPrefix: {
            type: String,
            value: "x"
        },
        name: {
            type: String,
            observer: function(e) {
                this.setData({
                    isImageName: -1 !== e.indexOf("/")
                });
            }
        }
    },
    methods: {
        onClick: function() {
            this.triggerEvent("click");
        }
    }
});